# -*- coding: UTF-8 -*-
'''=================================================
@Project -> File   ：final-work -> datalist.py
@IDE    ：PyCharm
@Author ：Zhou Shuai
@Date   ：2022/4/26 18:27
@Desc   ：
=================================================='''
import pandas as pd
import matplotlib.pyplot as plt
import numpy as np
import xlrd

df = pd.read_excel("Time_Voltage.xlsx")
T_array = []
for i in range(len(df.Time) - 1):
    # 遍历每行数据
    values = df.Time[i]
    T_array.append(values)
print(T_array)
print(len(df.Voltage))
print(len(df.Time))


V_array = []
for i in range(len(df.Voltage) - 1):
    # 遍历每行数据
    values = df.Voltage[i]
    V_array.append(values)
print(V_array)
